package bean;

import Interface.CalculatorRemote;

import javax.ejb.Stateless;

/**`
 *
 * @author Guojt
 * @date 2025/1/7 19:47
 */
@Stateless
public class CalculatorBean implements CalculatorRemote {

    @Override
    public int add(int a, int b) {
        return a + b;
    }


    @Override
    public int subtract(int a, int b) {
        return a - b;
    }


}
